package com.hoshiicloud.goods.param.goods;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
@Data
@ApiModel("更新类目状态入参对象")
public class GoodsCategoryStatusUpdateParam implements Serializable {
    @ApiModelProperty("类目id")
    @NotNull(message = "类目ID不能为空")
    private Long id;

    @ApiModelProperty("状态 0 禁用 1 启用")
    @NotNull(message = "状态不能为空")
    private Integer enabled;

    @ApiModelProperty(value = "修改人",hidden = true)
    private String updatedBy;
}
